- 12 Tier 1 providers now carry success_codes, failure_codes, rate_limit_codes
- {{KEY}} template in headers or URL (double-brace canonical form)
- metadata_paths added where provider APIs return useful metadata
- Anthropic switched to POST /v1/messages with minimal body
- Perplexity gains JSON body, content-type header
- Inflection verify URL left empty (no public endpoint)
- Dual-location sync preserved: providers/ mirrors pkg/providers/definitions/
26 lines
502 B
YAML
26 lines
502 B
YAML
format_version: 1
|
|
name: cohere
|
|
display_name: Cohere
|
|
tier: 1
|
|
last_verified: "2026-04-05"
|
|
keywords:
|
|
- "cohere"
|
|
- "CO_API_KEY"
|
|
- "COHERE_API_KEY"
|
|
- "cohere_api"
|
|
- "api.cohere.ai"
|
|
patterns:
|
|
- regex: '[a-zA-Z0-9]{40}'
|
|
entropy_min: 4.0
|
|
confidence: low
|
|
verify:
|
|
method: GET
|
|
url: https://api.cohere.ai/v1/models
|
|
headers:
|
|
Authorization: "Bearer {{KEY}}"
|
|
success_codes: [200]
|
|
failure_codes: [401, 403]
|
|
rate_limit_codes: [429]
|
|
metadata_paths:
|
|
first_model: "models.0.name"
|