You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[DOCS] TypeScript SDK: listModels include parameter and model metadata fields #453
The TypeScript SDK (@inference-gateway/sdk) now supports the include query parameter on listModels, matching the gateway's GET /v1/models endpoint and the Go SDK sync (inference-gateway/sdk#131).
New public API surface:
listModels(provider?, include?) accepts an include array (values: context_window, pricing), serialized as a comma-separated query value.
Model responses may now carry nullable context_window (tokens, source) and pricing (currency, per-token prices, source, updated_at) fields, exposed as SchemaContextWindow and SchemaPricing types.
Updated the TypeScript SDK docs in sdks.md to document the listModels(provider?, include?) parameter with context_window and pricing values, added example code showing both metadata fields, and opened draft PR #454.
Activity
edenreich commentedon Jul 21, 2026
@infer Can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Jul 21, 2026
Model:
ollama_cloud/deepseek-v4-flash· View JobTodos
Pull Request
#454
✅ Infer Result: Success
Updated the TypeScript SDK docs in
sdks.mdto document thelistModels(provider?, include?)parameter withcontext_windowandpricingvalues, added example code showing both metadata fields, and opened draft PR #454.Model:
ollama_cloud/deepseek-v4-flash· Exit Code:0· Duration: 3m 9sTokens: 2,873,566 in · 6,724 out · 2,880,290 total (28 requests)
Tool calls: 37 total · 95% success rate
Traces
Stats
Triggered by edenreich · Infer Action
inference-gateway-releaser commentedon Jul 22, 2026
🎉 This issue has been resolved in version 0.9.3 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀