OpenCode is an open-source AI coding agent designed to assist developers in writing code directly in their terminal, IDE, or through a desktop application. It supports integration with over 75 LLM providers via Models.dev, including popular options like Claude, GPT, and Gemini, and allows use of existing subscriptions such as GitHub Copilot and ChatGPT Plus/Pro. Key features include LSP enablement for automatic language server protocol loading, multi-session support for running multiple agents in parallel on the same project, and shareable session links for debugging or reference. The agent is built with a privacy-first approach, not storing any code or context data, making it suitable for sensitive environments. It is available as a free tool with included models and has a large community, with over 140,000 GitHub stars and 6.5 million monthly developers. Use cases include code generation, debugging, and collaborative coding across various development environments.
OpenCode
opencode.ai
OpenCode is an open-source AI coding agent that integrates with terminals, IDEs, and desktop apps, supporting multiple models and providers.
- Models
- 92 models
- From
- --
- Speed
- 139 tok/s
- Updated
- 6/8/2026
- Latency
- 0.00 s
- Created At
- 12/27/2025
API Endpoints
- Endpoint 1
opencode.ai
Verify ownership to unlock provider management features:
- Edit provider name, content, and links
- Get featured with priority traffic and visibility boost
- Display a verified badge to build user trust
Leaderboard Rankings
Rankings are based on community-submitted tests and periodic health probes. Advisory only, not official data.
About OpenCode
Health Check
API Benchmarks & Pricing
Compare 92 model rows across audit recency, latest speed tests, throughput, latency, and per-token pricing.
ling-3.0-flash-fin-free | - | - |
glm-5.3-flash | - | - |
hy4-preview | - | - |
qwen3.8-flash | - | - |
longcat-2.0 | - | - |
deepseek-v4-flash-vision-exp | - | - |
ox-alpha-free | 60.2 t/s | 37.01 s |
x-preview-f-free | 97.8 t/s | 8.84 s |
muse-spark-1.2-contributor-free | - | - |
muse-spark-1.2-contributor | - | - |
gemini-3.7-flash | - | - |
glm-5.3 | - | - |
grok-4.6 | - | - |
| 212.8 t/s | 21.68 s | |
ling-3.0-tiny-free | - | - |
| 68.5 t/s | 22.53 s | |
| 93.3 t/s | 3.28 s | |
claude-opus-5 | - | - |
gemini-3.5-flash-lite | - | - |
gemini-3.6-flash | - | - |
ling-3.0-flash-free | - | - |
| 41.0 t/s | 1.46 s | |
| 38.9 t/s | 7.98 s | |
| 169.2 t/s | 68.29 s | |
gpt-5.6-sol | - | - |
Showing 25 of 92 model rows
Free resources
Community-shared API keys and redeem codes associated with OpenCode.
Free API keys
2| API key / Status | API URL | Models | Submitted |
|---|---|---|---|
pu*** Available | https://opencode.ai/zen/v1 | claude-fable-5 · claude-opus-5 · +61 | YuTong Qiu· Jul 30, 2026 |
sk-qFu***6Yw8 Available | https://opencode.ai/zen/v1 | claude-opus-5 · gemini-3.7-flash · +11 | YuTong Qiu· Jul 9, 2026 |
Recent Test Records
| Time | Model | Speed | Latency |
|---|---|---|---|
| Aug 26, 09:57 AM | ox-alpha-free | 60.20 tok/s | 37.01s |
| Aug 21, 02:52 AM | nemotron-3.5-lightning-free | 212.81 tok/s | 21.68s |
| Aug 21, 02:50 AM | laguna-s-2.1-free | 41.01 tok/s | 1.46s |
| Aug 21, 02:48 AM | x-preview-f-free | 97.75 tok/s | 8.84s |
| Aug 19, 07:24 AM | muse-spark-1.2 | 68.51 tok/s | 22.53s |
| Aug 18, 05:20 AM | deepseek-v4-flash | 125.54 tok/s | 0.96s |
| Aug 15, 10:27 AM | deepseek-v4-flash | 107.59 tok/s | 1.30s |
| Aug 14, 10:37 AM | deepseek-v4-flash | 96.61 tok/s | 1.84s |
| Aug 13, 06:08 AM | glm-5.2 | 417.94 tok/s | 5.10s |
| Aug 13, 12:41 AM | deepseek-v4-flash | 130.91 tok/s | 2.12s |
Similar API Provider Alternatives to Compare
Compare OpenCode alternatives against 6 nearby API providers using 441 LMSpeed signals across shared model coverage, pricing, benchmark speed, uptime, and free-model availability.
| Provider | Why compare | Models | Free | Avg price | Speed | 30d uptime |
|---|---|---|---|---|---|---|
| OpenCode opencode-ai OpenCode is an open-source AI coding agent that integrates with terminals, IDEs, and desktop apps, supporting multiple models and providers. | Current provider baseline | 92 | 0 | N/A | 139 tok/s | 9970% |
| F2API api-f2api-com F2API is an enterprise AI gateway providing a unified OpenAI-compatible interface for accessing multiple large language models. |
| 1,262 | 0 | N/A | 272 tok/s | 9990% |
| Koyeb AI Gateway new-api-koyeb-app An OpenAI-compatible API gateway deployed on Koyeb, providing access to multiple AI models. |
| 578 | 420 | N/A | 33 tok/s | 9960% |
| ChooseC API ipv4-beta-lm-studio ChooseC API is a unified AI model aggregation gateway supporting 260+ mainstream models including Claude, GPT, Qwen, DeepSeek, Kimi, and GLM with OpenAI, Claude, and Gemini compatibility. |
| 335 | 9 | $0.095/M | 138 tok/s | 9950% |
| ChooseC API ipv4-beta-kxcym-top-3001 ChooseC API is an OpenAI-compatible relay service hosted at ipv4-beta.kxcym.top, providing access to multiple AI models through standardized endpoints. |
| 122 | 9 | $0.095/M | 51 tok/s | 0% |
| LLMService llmservice LLMService provides API access to large language models for self-use applications. |
| 449 | 0 | N/A | 139 tok/s | 4820% |
| DeadlySignal API deadlysignal |
| 290 | 0 | N/A | 63 tok/s | 9970% |
Notes
- Health checks: Scope: the 72-hour chart and recent availability measure API connectivity only. Each bar summarizes one hour of checks. Targets: LMSpeed tries the configured health check URL and provider status URL first, then API endpoints derived from known API hosts and recent speed-test base URLs. A website host is considered only when it looks like an API endpoint. Probe steps: each candidate goes through DNS lookup, TCP connection, TLS handshake for HTTPS, and an HTTP HEAD request with redirects followed. Probing stops after the first reachable candidate. Reachable criteria: every required network step must succeed. An HTTP response below 500 is treated as reachable, including 401 because it confirms that an authenticated API endpoint responded, except for statuses classified as blocked. Blocked results: HTTP 403, 429, 521, 525, and 530, plus detected WAF or Cloudflare challenges, are shown as blocked and excluded from availability calculations because LMSpeed cannot determine whether the API itself is down. Model availability: when a dedicated test key is configured, LMSpeed sends an authenticated GET request to a derived /models endpoint and compares returned model IDs with this provider's listed models. These per-model results appear in Models & Pricing and are not included in the provider connectivity percentage. Timeouts: TCP connection, TLS handshake, HTTP connectivity, and model requests each use a 20-second timeout. A full run can take longer when several candidates are tried. Frequency: a background worker checks all providers every 5 minutes by default. The 72-hour chart combines those samples into hourly bars, and the schedule may be changed by the service operator. Limit: automated samples are not an SLA and do not guarantee account quota, every model, every region, or successful completion requests. Check the provider's own status page before making operational decisions.
- Domain Rating data is sourced from Ahrefs. It is a 0–100 backlink-based domain strength signal and does not measure API speed or reliability.
- Announcements and FAQ are read from this provider's NewAPI status snapshot when available. LMSpeed stores the original content and optional English translations from the provider status source, then shows the localized fields on this page.

