GitHub Models
Hosted LLM catalogue behind an OpenAI-compatible endpoint, called with a GitHub token.
- Provider
- default
- Kind
- AI service
- Category
- Compute
| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| auth | enum | api-key | oauth | iam | none | no | — | ▸ api-key |
| billing | enum | free | paid | no | free | inherited |
| contentFiltering | boolean | — | no | — | inherited |
| customerManagedKeys | boolean | — | no | — | inherited |
| dataResidency | enum | us | eu | asia | global | no | — | inherited |
| dataRetentionDays | integer | — | no | — | inherited |
| keyStore | boolean | — | no | false | inherited |
| managed | boolean | — | no | false | ▸ true |
| modality | enum | text | vision | speech | multimodal | structured | image | video | audio | embedding | rerank | no | — | ▸ text |
| publicEndpoint | boolean | — | no | — | ▸ true |
| quotaUnitsPerMinute | integer | — | no | — | inherited |
| rateLimitRpm | integer | — | no | — | inherited |
| rateLimitTpm | integer | — | no | — | inherited |
| viaGateway | boolean | — | no | false | inherited |
Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.
This AI vendor is reached with an API key, and nothing in the design holds or rotates that key. It ends up in environment files or code, every caller shares it, and a single leak runs up the vendor bill until someone notices. Put the key in a key-management component, or say it is held there with keyStore.
- — all of these hold:
- — the node's `auth` is "api-key"
- — the node's `keyStore` is false
- — the node has at least one incoming edge from an app-server, worker or client
- — this does not hold:
- — the design contains a node of kind key-management
A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.
- — all of these hold:
- — the node's `stateless` is false
- — the node sits inside exactly 1 availability-zone group
- — this does not hold:
- — the node sits inside at least one cell group
nodes:
- { id: "github-models", component: "github-models" }# yaml-language-server: $schema=../../schema/component.schema.json # GitHub Models: hosted catalogue of LLMs behind an OpenAI-compatible inference endpoint at models.github.ai, # authenticated with a GitHub personal access token that has the models:read permission. Per "Prototyping with AI # models", free use is rate-limited per model tier and Copilot plan, with tokens per request capped, and paid usage lifts # the limits for production. schemaVersion: "1" type: "component" id: "github-models" kind: "ai-service" provider: "default" docs: "https://docs.github.com/en/github-models/use-github-models/prototyping-with-ai-models" defaults: auth: "api-key" managed: true modality: "text" publicEndpoint: true properties: billing: type: "enum" values: ["free", "paid"] default: "free"