Oriel — AI & technology worth noticing, every day.

Use Kimi Code CLI with models on Amazon Bedrock

Web page · https://aws.amazon.com/blogs/machine-learning/use-kimi-code-cli-with-models-on-amazon-bedrock

Kimi Code CLI v2.7.0 adds a native Amazon Bedrock provider, so you can connect the open source coding agent to models like Kimi K3.1 Pro using your standard AWS credential chain (named profiles or SSO) instead of a separate API key. This post shows how to configure the provider and send your first request.

First seen by Oriel on .

AI summary

This AWS guide shows how Kimi Code CLI v2.7.0+ uses native Amazon Bedrock integration and existing AWS credential chains to run Kimi K3.1 Pro Highspeed.

  • The native bedrock provider replaces manually managed Amazon Bedrock API keys with standard AWS credentials, named profiles, SSO, or temporary credentials.
  • The provider resolves credentials, generates short-lived bearer tokens, builds regional endpoints, and invokes the configured model or inference profile.
  • Configuration requires Kimi Code CLI v2.7.0+, AWS CLI access, model access, IAM permissions, and an explicit AWS_REGION in config.toml or the environment.
  • The example uses global.moonshotai.kimi-k3.1 with a one-million-token context and declares reasoning, image-input, and tool-use capabilities.
  • Global cross-Region inference is recommended where data residency is not required and is priced 10% lower than geographic profiles; connectivity status still requires an actual test request.

#amazon bedrock #kimi code #aws iam #cross-region inference

Generated by gpt-5.6-sol. Check the original for details.

Aliases

SourceExternal IDURL
AWS Machine Learning Blog71f08435a376a063de0a38fc52648940b0309672https://aws.amazon.com/blogs/machine-learning/use-kimi-code-cli-with-models-on-amazon-bedrock/ Read discussion