The open source coding agent.
TypeScript
docs: readme
Dax Raad54c86ed43a10
diff --git a/README.md b/README.mdindex d649fa27cbf..ebd91d91158 100644--- a/README.md+++ b/README.md@@ -73,14 +73,15 @@ model = "claude-sonnet-4-20250514"autoupdate = true```-You can also extend the models.dev database with your own providers and models by placing a `provider.toml` file in `~/.config/opencode/providers`+You can also extend the models.dev database with your own providers by mirroring the structure found [here](https://github.com/sst/models.dev/tree/dev/providers/anthropic)++Start with a `provider.toml` file in `~/.config/opencode/providers````toml# ~/.config/opencode/providers/openrouter/provider.toml[provider]name = "OpenRouter"env = ["OPENROUTER_API_KEY"]-id = "openrouter"npm = "@openrouter/ai-sdk-provider"```@@ -104,8 +105,6 @@ context = 200_000output = 50_000```-This mirrors the structure found [here](https://github.com/sst/models.dev/tree/dev/providers/anthropic)-### Project ConfigProject configuration is optional. You can place an `opencode.json` file in the root of your repo and is meant to be checked in and shared with your team.