Skip to content

feat(deepinfra): add DeepInfra API usage provider (0.45 port)#223

Merged
Finesssee merged 1 commit into
mainfrom
port/045-deepinfra
Jul 21, 2026
Merged

feat(deepinfra): add DeepInfra API usage provider (0.45 port)#223
Finesssee merged 1 commit into
mainfrom
port/045-deepinfra

Conversation

@Finesssee

@Finesssee Finesssee commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test plan

No packaging/version bump.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Port DeepInfra billing provider from steipete/CodexBar:
- GET /payment/checklist?compute_owed=true for prepaid balance, recent spend, limit, suspension
- GET /payment/usage?from=current for monthly spend (cents -> USD)
- API key via Preferences, keyring, DEEPINFRA_API_KEY / DEEPINFRA_TOKEN
- Token accounts for multiple labeled keys
- Fixture unit tests for balance/owed/suspended parse paths
@Finesssee
Finesssee merged commit 863d358 into main Jul 21, 2026
1 check failed
@github-actions

Copy link
Copy Markdown

This repository allows each user to open at most 4 pull requests per 7 days.

Closing this automatically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant