0af35d44f4
Provide the production foundation for Apple identity, immutable credits, referrals, integrity checks, managed providers, and hardened Docker deployment.
50 lines
1003 B
SQL
50 lines
1003 B
SQL
-- Initial integer-credit rate cards. Future price changes must insert a new
|
|
-- immutable version and close the previous effective interval.
|
|
INSERT INTO credit_rate_versions (
|
|
id,
|
|
kind,
|
|
provider,
|
|
model,
|
|
effective_from,
|
|
effective_until,
|
|
asr_credits_numerator,
|
|
asr_millis_denominator,
|
|
created_at
|
|
) VALUES (
|
|
'10000000-0000-0000-0000-000000000001',
|
|
'ASR',
|
|
'volcengine-sauc-v3',
|
|
'volc.seedasr.sauc.duration',
|
|
'1970-01-01 00:00:00.000000',
|
|
NULL,
|
|
1,
|
|
1000,
|
|
UTC_TIMESTAMP(6)
|
|
);
|
|
|
|
INSERT INTO credit_rate_versions (
|
|
id,
|
|
kind,
|
|
provider,
|
|
model,
|
|
effective_from,
|
|
effective_until,
|
|
input_credits_numerator,
|
|
input_tokens_denominator,
|
|
output_credits_numerator,
|
|
output_tokens_denominator,
|
|
created_at
|
|
) VALUES (
|
|
'10000000-0000-0000-0000-000000000002',
|
|
'LLM',
|
|
'deepseek',
|
|
'deepseek-v4-flash',
|
|
'1970-01-01 00:00:00.000000',
|
|
NULL,
|
|
1,
|
|
100,
|
|
2,
|
|
100,
|
|
UTC_TIMESTAMP(6)
|
|
);
|