Skip to content

g1t/services/models/wrangler.jsonc

28 lines1,121 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Integrations: your own model provider, alerts that open issues, tickets agents read1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-models",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
6 "main": "./src/index.ts",
7 "workers_dev": false,
Merge the AI Gateway: Anthropic's Messages API on a workspace's tokens8 // Sandboxes reach models only through here, with a token for their run;
9 // a workspace's own code reaches the AI Gateway here with one of its
10 // access tokens.
Integrations: your own model provider, alerts that open issues, tickets agents read11 "routes": [{ "pattern": "models.g1t.sh", "custom_domain": true }],
Mission control shows model usage, yours and the workspace's: tokens, cost, active days, cache share, each day, and the mix12 "services": [
13 { "binding": "INTEGRATIONS", "service": "g1t-integrations" },
14 // Where each run's tokens are counted, for usage views.
Merge the AI Gateway: Anthropic's Messages API on a workspace's tokens15 { "binding": "BILLING", "service": "g1t-billing" },
16 // Who an AI Gateway request's access token belongs to, and its scopes.
17 { "binding": "IDENTITY", "service": "g1t-identity" }
Mission control shows model usage, yours and the workspace's: tokens, cost, active days, cache share, each day, and the mix18 ],
Integrations: your own model provider, alerts that open issues, tickets agents read19 "vars": {
20 // g1t's own route, for runs g1t pays for: a Cloudflare AI Gateway,
21 // which holds g1t's key.
22 "AI_GATEWAY_ID": "g1t",
23 "CLOUDFLARE_ACCOUNT_ID": "1e6f2cffa3f445920836e8ebe446bb58"
24 },
25 // Secrets: AI_GATEWAY_TOKEN; ANTHROPIC_API_KEY only if the gateway does
26 // not hold g1t's key.
27 "observability": { "enabled": true }
28}

This file's history is long; its oldest lines are credited to the oldest commit read.