Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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 }}
smartABC
new-api-java
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Commits
Breadcrumbs
History for
new-api-java
types
on
main
User selector
All users
Datepicker
All time
Commit history
Commits on Jul 27, 2026
refactor: update import paths to use new types package
Calcium-Ion
committed
b8bb3f4
View commit details
Copy full SHA for b8bb3f4
View code at this point
Browse repository at this point
refactor: extract protocol conversion layer into standalone relaykit module (#6369)
Show description for 86ac0f7
Calcium-Ion
authored
86ac0f7
View commit details
Copy full SHA for 86ac0f7
View code at this point
Browse repository at this point
Commits on Jul 26, 2026
feat: configurable tool pricing, Sub2API channel, and alpha search billing
Show description for 2d23cdf
Calcium-Ion
committed
2d23cdf
View commit details
Copy full SHA for 2d23cdf
View code at this point
Browse repository at this point
Commits on Jul 11, 2026
fix(billing): improve quota handling and error reporting for pre-consume operations
Calcium-Ion
committed
d959583
View commit details
Copy full SHA for d959583
View code at this point
Browse repository at this point
Commits on Jul 7, 2026
refactor(price): improve handling of other ratios in PriceData
Calcium-Ion
committed
fc1259f
View commit details
Copy full SHA for fc1259f
View code at this point
Browse repository at this point
Commits on Jul 6, 2026
fix(billing): validate quantity parameters and harden quota calculations
Show description for d0bd8aa
Calcium-Ion
committed
d0bd8aa
View commit details
Copy full SHA for d0bd8aa
View code at this point
Browse repository at this point
Commits on Apr 11, 2026
feat: improve model price error UX with role-aware messages and cleaner UI
Show description for ed7f839
Calcium-Ion
committed
ed7f839
View commit details
Copy full SHA for ed7f839
View code at this point
Browse repository at this point
Commits on Apr 6, 2026
refactor(file-source): unify file source creation and enhance caching mechanisms
Calcium-Ion
committed
03758a4
View commit details
Copy full SHA for 03758a4
View code at this point
Browse repository at this point
Commits on Feb 22, 2026
refactor(task): extract billing and polling logic from controller to service layer
Show description for ba25ba8
Calcium-Ion
committed
ba25ba8
View commit details
Copy full SHA for ba25ba8
View code at this point
Browse repository at this point
Commits on Feb 7, 2026
refactor(ratio): replace maps with RWMap for improved concurrency handling
Calcium-Ion
committed
aed8c07
View commit details
Copy full SHA for aed8c07
View code at this point
Browse repository at this point
Commits on Feb 4, 2026
feat(cache): enhance disk cache management with concurrency control and cleanup optimizations
Calcium-Ion
committed
a8ff74c
View commit details
Copy full SHA for a8ff74c
View code at this point
Browse repository at this point
feat(file): unify file handling with a new FileSource abstraction for URL and base64 data
Calcium-Ion
committed
9ef9e78
View commit details
Copy full SHA for 9ef9e78
View code at this point
Browse repository at this point
Commits on Jan 26, 2026
feat: grok Usage Guidelines Violation Fee (#2753)
Show description for 4056e55
seefs001
authored
4056e55
View commit details
Copy full SHA for 4056e55
View code at this point
Browse repository at this point
feat: openai response /v1/response/compact (#2644)
Show description for cf114ca
seefs001
authored
cf114ca
View commit details
Copy full SHA for cf114ca
View code at this point
Browse repository at this point
Commits on Jan 12, 2026
Merge pull request #2647 from seefs001/feature/status-code-auto-disable
Show description for ac04c80
seefs001
authored
ac04c80
View commit details
Copy full SHA for ac04c80
View code at this point
Browse repository at this point
Commits on Dec 29, 2025
feat(adaptor): 新适配百炼多种图片生成模型
Show description for b5a0c82
Calcium-Ion
committed
b5a0c82
View commit details
Copy full SHA for b5a0c82
View code at this point
Browse repository at this point
Commits on Dec 26, 2025
fix: Fix Openrouter test errors and optimize error messages (#2433)
Show description for 2570788
seefs001
authored
2570788
View commit details
Copy full SHA for 2570788
View code at this point
Browse repository at this point
Commits on Dec 16, 2025
🧹 fix: harden request-body size handling and error unwrapping
Show description for fa814b8
t0ng7u
committed
fa814b8
View commit details
Copy full SHA for fa814b8
View code at this point
Browse repository at this point
Commits on Nov 3, 2025
feat: claude 1h cache (#2155)
Show description for e1b9317
seefs001
authored
e1b9317
View commit details
Copy full SHA for e1b9317
View code at this point
Browse repository at this point
Commits on Oct 28, 2025
feat: add special user usable group setting
Calcium-Ion
committed
6aec088
View commit details
Copy full SHA for 6aec088
View code at this point
Browse repository at this point
Commits on Oct 15, 2025
refactor: aws
Calcium-Ion
committed
31e09b9
View commit details
Copy full SHA for 31e09b9
View code at this point
Browse repository at this point
Commits on Oct 12, 2025
feat: support free model setting
Calcium-Ion
committed
d43751f
View commit details
Copy full SHA for d43751f
View code at this point
Browse repository at this point
Commits on Oct 11, 2025
format: package name -> github.com/QuantumNous/new-api (#2017)
seefs001
authored
5010f2d
View commit details
Copy full SHA for 5010f2d
View code at this point
Browse repository at this point
fix: ensure error message is set when it is empty in error handling #1972
Calcium-Ion
committed
02c0495
View commit details
Copy full SHA for 02c0495
View code at this point
Browse repository at this point
Commits on Oct 10, 2025
feat: sora 增加参数校验与计费
xyfacai
committed
09495c8
View commit details
Copy full SHA for 09495c8
View code at this point
Browse repository at this point
Commits on Oct 5, 2025
feat: update Gemini API response handling to include block reason and improve error reporting
Calcium-Ion
committed
35105b3
View commit details
Copy full SHA for 35105b3
View code at this point
Browse repository at this point
Commits on Sep 19, 2025
Merge branch 'alpha'
Calcium-Ion
committed
552d795
View commit details
Copy full SHA for 552d795
View code at this point
Browse repository at this point
Commits on Sep 15, 2025
Merge branch 'alpha' into imageratio-and-audioratio-edit
creamlike1024
committed
d21886b
View commit details
Copy full SHA for d21886b
View code at this point
Browse repository at this point
Commits on Sep 13, 2025
feat: implement SSRF protection settings and update related references
Calcium-Ion
committed
c3f5478
View commit details
Copy full SHA for c3f5478
View code at this point
Browse repository at this point
Commits on Sep 10, 2025
fix: err 如果是 newApiErr 则保留
xyfacai
committed
271830f
View commit details
Copy full SHA for 271830f
View code at this point
Browse repository at this point
Commits on Aug 30, 2025
feat: 图像倍率,音频倍率和音频补全倍率配置
creamlike1024
committed
2875dbb
View commit details
Copy full SHA for 2875dbb
View code at this point
Browse repository at this point
Commits on Aug 28, 2025
fix: 修复openai error 错误被覆盖
xyfacai
committed
c7dc4ad
View commit details
Copy full SHA for c7dc4ad
View code at this point
Browse repository at this point
Commits on Aug 25, 2025
fix: correct logic for handling nil OpenAI error codes. (close #1609)
Calcium-Ion
committed
1a5ba75
View commit details
Copy full SHA for 1a5ba75
View code at this point
Browse repository at this point
Commits on Aug 23, 2025
feats:add custom headers override
nekohy
committed
2d15120
View commit details
Copy full SHA for 2d15120
View code at this point
Browse repository at this point
Commits on Aug 15, 2025
refactor: update function signatures to include context and improve file handling #1599
Calcium-Ion
committed
77b100b
View commit details
Copy full SHA for 77b100b
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.