AWS shows developers how to pair OpenCode with open-weight models in Amazon Bedrock, bringing private, flexible, pay-per-use AI coding agents to AWS.

Amazon Web Services is positioning Amazon Bedrock as a way for developers to run AI coding agents with open-weight models while keeping inference inside their AWS environment. In a Machine Learning Blog post, AWS details how to connect OpenCode, an open-source terminal-based coding agent, to models including Kimi K3, GPT-OSS 120B, and NVIDIA Nemotron 3 Super 120B.
The guidance matters because coding agents can access source code, execute shell commands, modify files, and work across repositories. AWS argues that pairing OpenCode with Bedrock gives teams an alternative to sending proprietary code to a standalone model provider or paying for fixed per-seat coding subscriptions. The arrangement still relies on AWS-managed model access and usage-based charges, so it is better understood as a deployment pattern than a newly announced coding product.
OpenCode runs locally in a developer’s terminal, according to AWS, while model inference is handled through Amazon Bedrock. The agent can read and edit files, run commands, understand project structure through Language Server Protocol diagnostics, and connect to more than 75 large language model providers. Bedrock is one of those providers.
AWS’s example focuses on open-weight models rather than a single default model. Developers can configure OpenCode to use different models for different jobs, such as asking a reasoning-oriented model to investigate a difficult bug and a faster model to generate boilerplate or assist with interactive programming.
The models highlighted in the post cover different operating characteristics. AWS says Kimi K3 supports a 1 million-token context window and configurable reasoning depth. OpenAI GPT-OSS 120B is included as another open-weight option, while NVIDIA Nemotron 3 Super 120B is presented for throughput-sensitive workloads. AWS also cites NVIDIA’s claim that Nemotron can deliver up to seven times higher throughput because its Mixture-of-Experts design activates only a portion of its total parameters per token.
For builders, the practical change is model selection through a Bedrock configuration rather than a rewrite of the coding workflow. AWS says switching models can be handled through an API parameter, although teams would still need to test behavior, adjust prompts, and account for differences in tool use and output quality.
AWS says the setup keeps code, prompts, and responses within the customer’s AWS account when the relevant Bedrock configuration and Region are used. The post points to existing AWS controls, including Identity and Access Management, CloudTrail logging, PrivateLink connectivity, and encryption. It also says Bedrock does not use customer inputs or outputs to train or improve foundation models.
Those claims are important for companies evaluating coding agents against data-residency and compliance requirements. AWS says Bedrock is covered by several common compliance programs, including HIPAA, SOC 2, ISO 27001, FedRAMP, and GDPR. However, compliance coverage for a service does not automatically make every customer deployment compliant; organizations still need to configure access, logging, retention, and regional routing correctly.
The post describes three Bedrock pricing tiers: Priority for latency-sensitive production traffic, Standard for on-demand inference, and Flex for workloads that can tolerate variable latency. AWS says Flex costs 50% less than Standard. It also describes global and geographic inference profiles for supported models, including a US profile for workloads with US processing requirements and a global profile that can route requests across supported commercial AWS Regions.
This architecture avoids GPU provisioning and model-serving operations, but it does not remove the need for governance. Teams still have to control which repositories an agent can access, limit shell permissions, review generated changes, and monitor token consumption as agents perform multi-step work.
The strongest claims in the AWS post are vendor-reported or based on third-party material cited by AWS, rather than independent testing conducted for this announcement. AWS references a 2025 McKinsey report saying 76% of organizations expect to increase their use of open-source AI and that leading AI adopters are more likely to use open-weight models. The post also cites a CrowdStrike result in which a fine-tuned NVIDIA Nemotron model reportedly achieved 96% valid-query accuracy, compared with 61% for GPT-4o and 94% for Claude Sonnet 4.5.
Those figures may support the case for task-specific open-weight models, but they should not be treated as a general ranking of coding agents. Results can vary substantially with datasets, prompts, fine-tuning methods, evaluation criteria, and tool access. AWS recommends the Artificial Analysis Coding Index, which combines software-engineering benchmarks such as SWE-Bench and Terminal-Bench, and Amazon Bedrock Evaluations for side-by-side testing with automated scoring, model-based judging, or human review.
AWS also refers to an Ethara.AI production deployment using the architecture for multi-agent engineering and research workflows. The post provides that example as an implementation reference, but it does not provide independent usage data, customer-scale metrics, or a detailed cost comparison. A separate AWS listing in the supplied source set repeats the article title and does not add independent reporting.
For developers, the main appeal is operational flexibility. A coding agent can use a larger reasoning model for architecture planning or complex debugging, then route routine code generation to a faster or less expensive model. That approach could reduce unnecessary inference costs, particularly as agents consume many more tokens than a single conversational request.
For enterprise buyers, the more consequential question is whether AWS controls are sufficient for agentic access to source code and developer environments. Keeping inference in an AWS account may simplify procurement and network design for existing AWS customers, but it does not by itself guarantee accuracy, confidentiality, or safe execution. Human review, sandboxing, secrets management, and audit trails remain central requirements.
Open-weight access also changes the competitive calculation for model providers. Teams can potentially move between models as quality, pricing, regional availability, and licensing terms change. That reduces dependence on one model vendor, but creates new evaluation work. Model behavior, context handling, tool calling, and refusal patterns can differ even when the surrounding agent remains unchanged.
The economics are similarly workload-dependent. AWS claims open-weight models can lower per-token costs and says global cross-Region inference for Kimi K3 is approximately 10% cheaper than a geographic profile. Actual savings will depend on model choice, routing, context size, retries, agent loops, and the cost of reviewing incorrect changes. A cheaper token is not necessarily a cheaper software-development workflow if it produces more remediation work.
The first signal will be independent evaluations of OpenCode with the Bedrock-hosted models across repository-scale tasks, especially debugging, refactoring, and secure command execution. Benchmark scores alone will be less useful than measurements of successful task completion, review time, latency, and total cost per accepted change.
Teams should also watch model availability by AWS Region, licensing terms for individual open-weight models, and whether Bedrock adds more routing and evaluation tools for agent workflows. Production adoption will depend on controls for shell access, repository permissions, prompt injection, and secrets exposure as much as on model quality.
Finally, AWS’s cited production examples will become more informative if they include workload volumes, failure rates, model-routing policies, and cost comparisons. Without that evidence, the architecture is promising but remains primarily a vendor-documented implementation pattern.
AWS is not announcing that one model has become the definitive coding agent. Its more significant move is to make model interchangeability part of the workflow: OpenCode supplies the local agent interface, while Bedrock supplies managed access to several open-weight models and AWS security controls.
That separation could appeal to teams that already operate in AWS and want more control than a fixed coding subscription provides. But the commercial and technical case will be decided by measured task success, governance quality, and total workflow cost—not by open-weight status alone. Builders should treat AWS’s configuration as a starting point for their own evaluations rather than a substitute for them.