@mate-academy/llm-gateway 7.2.4 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/dist/LLMService.constants.d.ts +5283 -2461
  2. package/dist/LLMService.typedefs.d.ts +5 -2
  3. package/dist/LLMService.typedefs.js.map +1 -1
  4. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.d.ts +32 -0
  5. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.js +8 -8
  6. package/dist/providers/GoogleGenerativeAI/GoogleGenerativeAI.constants.js.map +1 -1
  7. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.service.js +3 -2
  8. package/dist/providers/GoogleGenerativeAI/services/GoogleGenerativeAISpeechToText.service.js.map +1 -1
  9. package/dist/providers/LLMAPI/LLMAPI.constants.d.ts +9151 -4954
  10. package/dist/providers/LLMAPI/LLMAPI.constants.js +752 -33
  11. package/dist/providers/LLMAPI/LLMAPI.constants.js.map +1 -1
  12. package/dist/providers/LLMAPI/LLMAPI.typedefs.d.ts +58 -3
  13. package/dist/providers/LLMAPI/LLMAPI.typedefs.js +66 -2
  14. package/dist/providers/LLMAPI/LLMAPI.typedefs.js.map +1 -1
  15. package/dist/providers/LLMAPI/LLMAPI.voices.d.ts +344 -0
  16. package/dist/providers/LLMAPI/LLMAPI.voices.js +697 -0
  17. package/dist/providers/LLMAPI/LLMAPI.voices.js.map +1 -0
  18. package/dist/providers/LLMAPI/index.d.ts +1 -0
  19. package/dist/providers/LLMAPI/index.js +1 -0
  20. package/dist/providers/LLMAPI/index.js.map +1 -1
  21. package/dist/providers/LLMAPI/services/LLMAPISpeechToText.service.d.ts +10 -0
  22. package/dist/providers/LLMAPI/services/LLMAPISpeechToText.service.js +82 -0
  23. package/dist/providers/LLMAPI/services/LLMAPISpeechToText.service.js.map +1 -0
  24. package/dist/providers/LLMAPI/services/LLMAPITextToSpeech.service.d.ts +10 -0
  25. package/dist/providers/LLMAPI/services/LLMAPITextToSpeech.service.js +73 -0
  26. package/dist/providers/LLMAPI/services/LLMAPITextToSpeech.service.js.map +1 -0
  27. package/dist/providers/LLMAPI/services/index.d.ts +2 -0
  28. package/dist/providers/LLMAPI/services/index.js +2 -0
  29. package/dist/providers/LLMAPI/services/index.js.map +1 -1
  30. package/dist/providers/OpenAI/OpenAI.constants.d.ts +20 -30
  31. package/dist/providers/OpenAI/OpenAI.constants.js +6 -12
  32. package/dist/providers/OpenAI/OpenAI.constants.js.map +1 -1
  33. package/dist/providers/OpenAI/services/OpenAISpeechToText.service.js +2 -1
  34. package/dist/providers/OpenAI/services/OpenAISpeechToText.service.js.map +1 -1
  35. package/package.json +1 -1
  36. package/dist/agent/LLMAgent.constants.d.ts +0 -1
  37. package/dist/agent/LLMAgent.constants.js +0 -5
  38. package/dist/agent/LLMAgent.constants.js.map +0 -1
  39. package/dist/agent/LLMAgent.d.ts +0 -9
  40. package/dist/agent/LLMAgent.js +0 -28
  41. package/dist/agent/LLMAgent.js.map +0 -1
  42. package/dist/agent/LLMAgent.typedefs.d.ts +0 -44
  43. package/dist/agent/LLMAgent.typedefs.js +0 -3
  44. package/dist/agent/LLMAgent.typedefs.js.map +0 -1
  45. package/dist/agent/LLMAgentBase.d.ts +0 -42
  46. package/dist/agent/LLMAgentBase.js +0 -147
  47. package/dist/agent/LLMAgentBase.js.map +0 -1
  48. package/dist/agent/LLMAgentOrchestrator.d.ts +0 -11
  49. package/dist/agent/LLMAgentOrchestrator.js +0 -86
  50. package/dist/agent/LLMAgentOrchestrator.js.map +0 -1
  51. package/dist/agent/LLMAgentToolAdapter.d.ts +0 -6
  52. package/dist/agent/LLMAgentToolAdapter.js +0 -25
  53. package/dist/agent/LLMAgentToolAdapter.js.map +0 -1
  54. package/dist/agent/index.d.ts +0 -6
  55. package/dist/agent/index.js +0 -14
  56. package/dist/agent/index.js.map +0 -1
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LLMAPI_SERVICE_BUILDERS = exports.LLMAPI_MODELS = exports.LLMAPI_AVAILABLE_MODELS = void 0;
3
+ exports.LLMAPI_SERVICE_BUILDERS = exports.LLMAPI_MODELS = exports.LLMAPI_TTS_DEFAULT_VOICES = exports.LLMAPI_AVAILABLE_MODELS = void 0;
4
4
  const LLMService_typedefs_1 = require("../../LLMService.typedefs");
5
5
  const LLMAPI_typedefs_1 = require("../../providers/LLMAPI/LLMAPI.typedefs");
6
+ const LLMAPI_voices_1 = require("../../providers/LLMAPI/LLMAPI.voices");
6
7
  const services_1 = require("./services");
7
8
  exports.LLMAPI_AVAILABLE_MODELS = {
8
9
  // ─── OpenAI ────────────────────────────────────────────────────
@@ -6446,34 +6447,6 @@ exports.LLMAPI_AVAILABLE_MODELS = {
6446
6447
  structuredOutputs: false,
6447
6448
  },
6448
6449
  },
6449
- [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH_IMAGE_OBSIDIAN]: {
6450
- name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_2_5_FLASH_IMAGE_OBSIDIAN,
6451
- limits: { maxInputTokens: 32_768, maxOutputTokens: 65_536 },
6452
- config: { temperature: 0.2 },
6453
- pricing: { getPriceForTextInput: (tokens) => 0.3 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 30 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6454
- capabilities: {
6455
- vision: true,
6456
- tools: false,
6457
- reasoning: false,
6458
- webSearch: false,
6459
- jsonOutput: true,
6460
- structuredOutputs: true,
6461
- },
6462
- },
6463
- [LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_3_PRO_IMAGE_PREVIEW_OBSIDIAN]: {
6464
- name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMINI_3_PRO_IMAGE_PREVIEW_OBSIDIAN,
6465
- limits: { maxInputTokens: 65_536, maxOutputTokens: 8_192 },
6466
- config: { temperature: 0.2 },
6467
- pricing: { getPriceForTextInput: (tokens) => 2 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 12 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6468
- capabilities: {
6469
- vision: true,
6470
- tools: false,
6471
- reasoning: false,
6472
- webSearch: false,
6473
- jsonOutput: true,
6474
- structuredOutputs: true,
6475
- },
6476
- },
6477
6450
  [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_2_CHAT_LATEST_OPENAI]: {
6478
6451
  name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_2_CHAT_LATEST_OPENAI,
6479
6452
  limits: { maxInputTokens: 128_000, maxOutputTokens: 131_072 },
@@ -6826,18 +6799,764 @@ exports.LLMAPI_AVAILABLE_MODELS = {
6826
6799
  structuredOutputs: false,
6827
6800
  },
6828
6801
  },
6802
+ // ─── Sync additions (auto-generated) ─────────────────────
6803
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_7_ANTHROPIC]: {
6804
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_7_ANTHROPIC,
6805
+ limits: { maxInputTokens: 1_000_000, maxOutputTokens: 128_000 },
6806
+ config: { temperature: 0.2 },
6807
+ pricing: { getPriceForTextInput: (tokens) => 5 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 25 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6808
+ capabilities: {
6809
+ vision: true,
6810
+ tools: true,
6811
+ reasoning: true,
6812
+ webSearch: false,
6813
+ jsonOutput: false,
6814
+ structuredOutputs: false,
6815
+ },
6816
+ },
6817
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ANTHROPIC_CLAUDE_OPUS_4_7_AWS_BEDROCK]: {
6818
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.ANTHROPIC_CLAUDE_OPUS_4_7_AWS_BEDROCK,
6819
+ limits: { maxInputTokens: 1_000_000, maxOutputTokens: 128_000 },
6820
+ config: { temperature: 0.2 },
6821
+ pricing: { getPriceForTextInput: (tokens) => 5 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 25 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6822
+ capabilities: {
6823
+ vision: true,
6824
+ tools: true,
6825
+ reasoning: true,
6826
+ webSearch: false,
6827
+ jsonOutput: false,
6828
+ structuredOutputs: false,
6829
+ },
6830
+ },
6831
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_5_AZURE]: {
6832
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_5_AZURE,
6833
+ limits: { maxInputTokens: 1_050_000, maxOutputTokens: 128_000 },
6834
+ config: { temperature: 0.2 },
6835
+ pricing: { getPriceForTextInput: (tokens) => 5 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 30 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6836
+ capabilities: {
6837
+ vision: true,
6838
+ tools: true,
6839
+ reasoning: true,
6840
+ webSearch: false,
6841
+ jsonOutput: false,
6842
+ structuredOutputs: false,
6843
+ },
6844
+ },
6845
+ [LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_6_AZURE]: {
6846
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_6_AZURE,
6847
+ limits: { maxInputTokens: 262_144, maxOutputTokens: 262_144 },
6848
+ config: { temperature: 0.2 },
6849
+ pricing: { getPriceForTextInput: (tokens) => 0.95 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 4 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6850
+ capabilities: {
6851
+ vision: true,
6852
+ tools: true,
6853
+ reasoning: true,
6854
+ webSearch: false,
6855
+ jsonOutput: false,
6856
+ structuredOutputs: false,
6857
+ },
6858
+ },
6859
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_DEEPSEEK_V4_FLASH_CANOPYWAVE]: {
6860
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_DEEPSEEK_V4_FLASH_CANOPYWAVE,
6861
+ limits: { maxInputTokens: 1_048_576, maxOutputTokens: 384_000 },
6862
+ config: { temperature: 0.2 },
6863
+ pricing: { getPriceForTextInput: (tokens) => 0.14 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.28 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6864
+ capabilities: {
6865
+ vision: false,
6866
+ tools: true,
6867
+ reasoning: true,
6868
+ webSearch: false,
6869
+ jsonOutput: false,
6870
+ structuredOutputs: false,
6871
+ },
6872
+ },
6873
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MOONSHOTAI_KIMI_K2_6_CANOPYWAVE]: {
6874
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MOONSHOTAI_KIMI_K2_6_CANOPYWAVE,
6875
+ limits: { maxInputTokens: 262_144, maxOutputTokens: 262_144 },
6876
+ config: { temperature: 0.2 },
6877
+ pricing: { getPriceForTextInput: (tokens) => 0.95 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 4 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6878
+ capabilities: {
6879
+ vision: true,
6880
+ tools: true,
6881
+ reasoning: true,
6882
+ webSearch: false,
6883
+ jsonOutput: false,
6884
+ structuredOutputs: false,
6885
+ },
6886
+ },
6887
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ZAI_GLM_5_1_CANOPYWAVE]: {
6888
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.ZAI_GLM_5_1_CANOPYWAVE,
6889
+ limits: { maxInputTokens: 202_800, maxOutputTokens: 65_536 },
6890
+ config: { temperature: 0.2 },
6891
+ pricing: { getPriceForTextInput: (tokens) => 1.4 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 4.4 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6892
+ capabilities: {
6893
+ vision: false,
6894
+ tools: true,
6895
+ reasoning: true,
6896
+ webSearch: false,
6897
+ jsonOutput: true,
6898
+ structuredOutputs: false,
6899
+ },
6900
+ },
6901
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_7]: {
6902
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CLAUDE_OPUS_4_7,
6903
+ limits: { maxInputTokens: 1_000_000, maxOutputTokens: 128_000 },
6904
+ config: { temperature: 0.2 },
6905
+ pricing: { getPriceForTextInput: (tokens) => 5 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 25 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6906
+ capabilities: {
6907
+ vision: true,
6908
+ tools: true,
6909
+ reasoning: true,
6910
+ webSearch: false,
6911
+ jsonOutput: false,
6912
+ structuredOutputs: false,
6913
+ },
6914
+ },
6915
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_GOOGLE_GEMMA_3_12B_IT_CLOUDFLARE]: {
6916
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_GOOGLE_GEMMA_3_12B_IT_CLOUDFLARE,
6917
+ limits: {
6918
+ maxInputTokens: 1_000_000,
6919
+ maxOutputTokens: 8_192,
6920
+ },
6921
+ config: {
6922
+ temperature: 0.2,
6923
+ },
6924
+ pricing: {
6925
+ getPriceForTextInput: (tokens) => 0.075 * tokens / 1_000_000,
6926
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
6927
+ getPriceForAudioInput: () => 0,
6928
+ getPriceForAudioOutput: () => 0,
6929
+ currency: 'USD',
6930
+ },
6931
+ capabilities: {
6932
+ vision: false,
6933
+ tools: false,
6934
+ reasoning: false,
6935
+ webSearch: false,
6936
+ jsonOutput: false,
6937
+ structuredOutputs: false,
6938
+ },
6939
+ },
6940
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_META_LLAMA_3_1_8B_INSTRUCT_CLOUDFLARE]: {
6941
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_META_LLAMA_3_1_8B_INSTRUCT_CLOUDFLARE,
6942
+ limits: {
6943
+ maxInputTokens: 128_000,
6944
+ maxOutputTokens: 8_192,
6945
+ },
6946
+ config: {
6947
+ temperature: 0.2,
6948
+ },
6949
+ pricing: {
6950
+ getPriceForTextInput: (tokens) => 0.22 * tokens / 1_000_000,
6951
+ getPriceForTextOutput: (tokens) => 0.22 * tokens / 1_000_000,
6952
+ getPriceForAudioInput: () => 0,
6953
+ getPriceForAudioOutput: () => 0,
6954
+ currency: 'USD',
6955
+ },
6956
+ capabilities: {
6957
+ vision: false,
6958
+ tools: false,
6959
+ reasoning: false,
6960
+ webSearch: false,
6961
+ jsonOutput: true,
6962
+ structuredOutputs: false,
6963
+ },
6964
+ },
6965
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_META_LLAMA_3_2_3B_INSTRUCT_CLOUDFLARE]: {
6966
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_META_LLAMA_3_2_3B_INSTRUCT_CLOUDFLARE,
6967
+ limits: {
6968
+ maxInputTokens: 32_768,
6969
+ maxOutputTokens: 8_192,
6970
+ },
6971
+ config: {
6972
+ temperature: 0.2,
6973
+ },
6974
+ pricing: {
6975
+ getPriceForTextInput: (tokens) => 0.03 * tokens / 1_000_000,
6976
+ getPriceForTextOutput: (tokens) => 0.05 * tokens / 1_000_000,
6977
+ getPriceForAudioInput: () => 0,
6978
+ getPriceForAudioOutput: () => 0,
6979
+ currency: 'USD',
6980
+ },
6981
+ capabilities: {
6982
+ vision: false,
6983
+ tools: false,
6984
+ reasoning: false,
6985
+ webSearch: false,
6986
+ jsonOutput: true,
6987
+ structuredOutputs: false,
6988
+ },
6989
+ },
6990
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_META_LLAMA_4_SCOUT_17B_16E_INSTRUCT_CLOUDFLARE]: {
6991
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_META_LLAMA_4_SCOUT_17B_16E_INSTRUCT_CLOUDFLARE,
6992
+ limits: { maxInputTokens: 131_072, maxOutputTokens: 8_192 },
6993
+ config: { temperature: 0.2 },
6994
+ pricing: { getPriceForTextInput: (tokens) => 0.18 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.59 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
6995
+ capabilities: {
6996
+ vision: true,
6997
+ tools: false,
6998
+ reasoning: false,
6999
+ webSearch: false,
7000
+ jsonOutput: true,
7001
+ structuredOutputs: false,
7002
+ },
7003
+ },
7004
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_META_LLAMA_GUARD_3_8B_CLOUDFLARE]: {
7005
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_META_LLAMA_GUARD_3_8B_CLOUDFLARE,
7006
+ limits: { maxInputTokens: 8_192, maxOutputTokens: 8_192 },
7007
+ config: { temperature: 0.2 },
7008
+ pricing: { getPriceForTextInput: (tokens) => 0.02 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.06 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7009
+ capabilities: {
7010
+ vision: false,
7011
+ tools: false,
7012
+ reasoning: false,
7013
+ webSearch: false,
7014
+ jsonOutput: false,
7015
+ structuredOutputs: false,
7016
+ },
7017
+ },
7018
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_MOONSHOTAI_KIMI_K2_5_CLOUDFLARE]: {
7019
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_MOONSHOTAI_KIMI_K2_5_CLOUDFLARE,
7020
+ limits: {
7021
+ maxInputTokens: 262_144,
7022
+ maxOutputTokens: 128_000,
7023
+ },
7024
+ config: {
7025
+ temperature: 0.2,
7026
+ },
7027
+ pricing: {
7028
+ getPriceForTextInput: (tokens) => 0.405 * tokens / 1_000_000,
7029
+ getPriceForTextOutput: (tokens) => 1.98 * tokens / 1_000_000,
7030
+ getPriceForAudioInput: () => 0,
7031
+ getPriceForAudioOutput: () => 0,
7032
+ currency: 'USD',
7033
+ },
7034
+ capabilities: {
7035
+ vision: true,
7036
+ tools: true,
7037
+ reasoning: false,
7038
+ webSearch: false,
7039
+ jsonOutput: true,
7040
+ structuredOutputs: false,
7041
+ },
7042
+ },
7043
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_MOONSHOTAI_KIMI_K2_6_CLOUDFLARE]: {
7044
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_MOONSHOTAI_KIMI_K2_6_CLOUDFLARE,
7045
+ limits: { maxInputTokens: 262_144, maxOutputTokens: 262_144 },
7046
+ config: { temperature: 0.2 },
7047
+ pricing: { getPriceForTextInput: (tokens) => 0.95 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 4 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7048
+ capabilities: {
7049
+ vision: true,
7050
+ tools: true,
7051
+ reasoning: true,
7052
+ webSearch: false,
7053
+ jsonOutput: false,
7054
+ structuredOutputs: false,
7055
+ },
7056
+ },
7057
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_OPENAI_GPT_OSS_120B_CLOUDFLARE]: {
7058
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_OPENAI_GPT_OSS_120B_CLOUDFLARE,
7059
+ limits: { maxInputTokens: 131_072, maxOutputTokens: 65_536 },
7060
+ config: { temperature: 0.2 },
7061
+ pricing: { getPriceForTextInput: (tokens) => 0.35 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.75 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7062
+ capabilities: {
7063
+ vision: false,
7064
+ tools: true,
7065
+ reasoning: true,
7066
+ webSearch: false,
7067
+ jsonOutput: true,
7068
+ structuredOutputs: false,
7069
+ },
7070
+ },
7071
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_OPENAI_GPT_OSS_20B_CLOUDFLARE]: {
7072
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_OPENAI_GPT_OSS_20B_CLOUDFLARE,
7073
+ limits: {
7074
+ maxInputTokens: 131_072,
7075
+ maxOutputTokens: 32_768,
7076
+ },
7077
+ config: {
7078
+ temperature: 0.2,
7079
+ },
7080
+ pricing: {
7081
+ getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000,
7082
+ getPriceForTextOutput: (tokens) => 0.5 * tokens / 1_000_000,
7083
+ getPriceForAudioInput: () => 0,
7084
+ getPriceForAudioOutput: () => 0,
7085
+ currency: 'USD',
7086
+ },
7087
+ capabilities: {
7088
+ vision: false,
7089
+ tools: true,
7090
+ reasoning: true,
7091
+ webSearch: false,
7092
+ jsonOutput: true,
7093
+ structuredOutputs: false,
7094
+ },
7095
+ },
7096
+ [LLMAPI_typedefs_1.LLMAPIModelNames.CF_QWEN_QWEN3_30B_A3B_FP8_CLOUDFLARE]: {
7097
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.CF_QWEN_QWEN3_30B_A3B_FP8_CLOUDFLARE,
7098
+ limits: {
7099
+ maxInputTokens: 40_960,
7100
+ maxOutputTokens: 16_384,
7101
+ },
7102
+ config: {
7103
+ temperature: 0.2,
7104
+ },
7105
+ pricing: {
7106
+ getPriceForTextInput: (tokens) => 0.09 * tokens / 1_000_000,
7107
+ getPriceForTextOutput: (tokens) => 0.45 * tokens / 1_000_000,
7108
+ getPriceForAudioInput: () => 0,
7109
+ getPriceForAudioOutput: () => 0,
7110
+ currency: 'USD',
7111
+ },
7112
+ capabilities: {
7113
+ vision: false,
7114
+ tools: false,
7115
+ reasoning: false,
7116
+ webSearch: false,
7117
+ jsonOutput: false,
7118
+ structuredOutputs: false,
7119
+ },
7120
+ },
7121
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V4_FLASH]: {
7122
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V4_FLASH,
7123
+ limits: { maxInputTokens: 1_048_576, maxOutputTokens: 384_000 },
7124
+ config: { temperature: 0.2 },
7125
+ pricing: { getPriceForTextInput: (tokens) => 0.14 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.28 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7126
+ capabilities: {
7127
+ vision: false,
7128
+ tools: true,
7129
+ reasoning: true,
7130
+ webSearch: false,
7131
+ jsonOutput: false,
7132
+ structuredOutputs: false,
7133
+ },
7134
+ },
7135
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V4_PRO]: {
7136
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V4_PRO,
7137
+ limits: { maxInputTokens: 1_048_576, maxOutputTokens: 384_000 },
7138
+ config: { temperature: 0.2 },
7139
+ pricing: { getPriceForTextInput: (tokens) => 1.74 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 3.48 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7140
+ capabilities: {
7141
+ vision: false,
7142
+ tools: true,
7143
+ reasoning: true,
7144
+ webSearch: false,
7145
+ jsonOutput: false,
7146
+ structuredOutputs: false,
7147
+ },
7148
+ },
7149
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V4_FLASH_DEEPSEEK]: {
7150
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V4_FLASH_DEEPSEEK,
7151
+ limits: { maxInputTokens: 1_048_576, maxOutputTokens: 384_000 },
7152
+ config: { temperature: 0.2 },
7153
+ pricing: { getPriceForTextInput: (tokens) => 0.14 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.28 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7154
+ capabilities: {
7155
+ vision: false,
7156
+ tools: true,
7157
+ reasoning: true,
7158
+ webSearch: false,
7159
+ jsonOutput: false,
7160
+ structuredOutputs: false,
7161
+ },
7162
+ },
7163
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V4_PRO_DEEPSEEK]: {
7164
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_V4_PRO_DEEPSEEK,
7165
+ limits: { maxInputTokens: 1_048_576, maxOutputTokens: 384_000 },
7166
+ config: { temperature: 0.2 },
7167
+ pricing: { getPriceForTextInput: (tokens) => 1.74 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 3.48 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7168
+ capabilities: {
7169
+ vision: false,
7170
+ tools: true,
7171
+ reasoning: true,
7172
+ webSearch: false,
7173
+ jsonOutput: false,
7174
+ structuredOutputs: false,
7175
+ },
7176
+ },
7177
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_4_26B_A4B_IT]: {
7178
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_4_26B_A4B_IT,
7179
+ limits: { maxInputTokens: 256_000, maxOutputTokens: 32_768 },
7180
+ config: { temperature: 0.2 },
7181
+ pricing: { getPriceForTextInput: (tokens) => 0.1 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7182
+ capabilities: {
7183
+ vision: true,
7184
+ tools: true,
7185
+ reasoning: true,
7186
+ webSearch: false,
7187
+ jsonOutput: false,
7188
+ structuredOutputs: false,
7189
+ },
7190
+ },
7191
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3_12B_IT_GOOGLE_AI_STUDIO]: {
7192
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GEMMA_3_12B_IT_GOOGLE_AI_STUDIO,
7193
+ limits: {
7194
+ maxInputTokens: 1_000_000,
7195
+ maxOutputTokens: 8_192,
7196
+ },
7197
+ config: {
7198
+ temperature: 0.2,
7199
+ },
7200
+ pricing: {
7201
+ getPriceForTextInput: (tokens) => 0.075 * tokens / 1_000_000,
7202
+ getPriceForTextOutput: (tokens) => 0.3 * tokens / 1_000_000,
7203
+ getPriceForAudioInput: () => 0,
7204
+ getPriceForAudioOutput: () => 0,
7205
+ currency: 'USD',
7206
+ },
7207
+ capabilities: {
7208
+ vision: false,
7209
+ tools: false,
7210
+ reasoning: false,
7211
+ webSearch: false,
7212
+ jsonOutput: false,
7213
+ structuredOutputs: false,
7214
+ },
7215
+ },
7216
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_5]: {
7217
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_5,
7218
+ limits: { maxInputTokens: 1_050_000, maxOutputTokens: 128_000 },
7219
+ config: { temperature: 0.2 },
7220
+ pricing: { getPriceForTextInput: (tokens) => 5 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 30 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7221
+ capabilities: {
7222
+ vision: true,
7223
+ tools: true,
7224
+ reasoning: true,
7225
+ webSearch: false,
7226
+ jsonOutput: false,
7227
+ structuredOutputs: false,
7228
+ },
7229
+ },
7230
+ [LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_6]: {
7231
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_6,
7232
+ limits: { maxInputTokens: 262_144, maxOutputTokens: 262_144 },
7233
+ config: { temperature: 0.2 },
7234
+ pricing: { getPriceForTextInput: (tokens) => 0.95 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 4 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7235
+ capabilities: {
7236
+ vision: true,
7237
+ tools: true,
7238
+ reasoning: true,
7239
+ webSearch: false,
7240
+ jsonOutput: false,
7241
+ structuredOutputs: false,
7242
+ },
7243
+ },
7244
+ [LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_6_MOONSHOT]: {
7245
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.KIMI_K2_6_MOONSHOT,
7246
+ limits: { maxInputTokens: 262_144, maxOutputTokens: 262_144 },
7247
+ config: { temperature: 0.2 },
7248
+ pricing: { getPriceForTextInput: (tokens) => 0.95 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 4 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7249
+ capabilities: {
7250
+ vision: true,
7251
+ tools: true,
7252
+ reasoning: true,
7253
+ webSearch: false,
7254
+ jsonOutput: false,
7255
+ structuredOutputs: false,
7256
+ },
7257
+ },
7258
+ [LLMAPI_typedefs_1.LLMAPIModelNames.META_LLAMA_LLAMA_GUARD_3_8B_NEBIUS]: {
7259
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.META_LLAMA_LLAMA_GUARD_3_8B_NEBIUS,
7260
+ limits: { maxInputTokens: 8_192, maxOutputTokens: 8_192 },
7261
+ config: { temperature: 0.2 },
7262
+ pricing: { getPriceForTextInput: (tokens) => 0.02 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.06 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7263
+ capabilities: {
7264
+ vision: false,
7265
+ tools: false,
7266
+ reasoning: false,
7267
+ webSearch: false,
7268
+ jsonOutput: false,
7269
+ structuredOutputs: false,
7270
+ },
7271
+ },
7272
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_DEEPSEEK_V4_FLASH_NOVITA]: {
7273
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_DEEPSEEK_V4_FLASH_NOVITA,
7274
+ limits: { maxInputTokens: 1_048_576, maxOutputTokens: 384_000 },
7275
+ config: { temperature: 0.2 },
7276
+ pricing: { getPriceForTextInput: (tokens) => 0.14 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 0.28 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7277
+ capabilities: {
7278
+ vision: false,
7279
+ tools: true,
7280
+ reasoning: true,
7281
+ webSearch: false,
7282
+ jsonOutput: false,
7283
+ structuredOutputs: false,
7284
+ },
7285
+ },
7286
+ [LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_DEEPSEEK_V4_PRO_NOVITA]: {
7287
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.DEEPSEEK_DEEPSEEK_V4_PRO_NOVITA,
7288
+ limits: { maxInputTokens: 1_048_576, maxOutputTokens: 384_000 },
7289
+ config: { temperature: 0.2 },
7290
+ pricing: { getPriceForTextInput: (tokens) => 1.74 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 3.48 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7291
+ capabilities: {
7292
+ vision: false,
7293
+ tools: true,
7294
+ reasoning: true,
7295
+ webSearch: false,
7296
+ jsonOutput: false,
7297
+ structuredOutputs: false,
7298
+ },
7299
+ },
7300
+ [LLMAPI_typedefs_1.LLMAPIModelNames.META_LLAMA_LLAMA_3_2_3B_INSTRUCT_NOVITA]: {
7301
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.META_LLAMA_LLAMA_3_2_3B_INSTRUCT_NOVITA,
7302
+ limits: {
7303
+ maxInputTokens: 32_768,
7304
+ maxOutputTokens: 8_192,
7305
+ },
7306
+ config: {
7307
+ temperature: 0.2,
7308
+ },
7309
+ pricing: {
7310
+ getPriceForTextInput: (tokens) => 0.03 * tokens / 1_000_000,
7311
+ getPriceForTextOutput: (tokens) => 0.05 * tokens / 1_000_000,
7312
+ getPriceForAudioInput: () => 0,
7313
+ getPriceForAudioOutput: () => 0,
7314
+ currency: 'USD',
7315
+ },
7316
+ capabilities: {
7317
+ vision: false,
7318
+ tools: false,
7319
+ reasoning: false,
7320
+ webSearch: false,
7321
+ jsonOutput: true,
7322
+ structuredOutputs: false,
7323
+ },
7324
+ },
7325
+ [LLMAPI_typedefs_1.LLMAPIModelNames.MOONSHOTAI_KIMI_K2_6_NOVITA]: {
7326
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.MOONSHOTAI_KIMI_K2_6_NOVITA,
7327
+ limits: { maxInputTokens: 262_144, maxOutputTokens: 262_144 },
7328
+ config: { temperature: 0.2 },
7329
+ pricing: { getPriceForTextInput: (tokens) => 0.95 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 4 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7330
+ capabilities: {
7331
+ vision: true,
7332
+ tools: true,
7333
+ reasoning: true,
7334
+ webSearch: false,
7335
+ jsonOutput: false,
7336
+ structuredOutputs: false,
7337
+ },
7338
+ },
7339
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_QWEN3_30B_A3B_FP8_NOVITA]: {
7340
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN_QWEN3_30B_A3B_FP8_NOVITA,
7341
+ limits: {
7342
+ maxInputTokens: 40_960,
7343
+ maxOutputTokens: 16_384,
7344
+ },
7345
+ config: {
7346
+ temperature: 0.2,
7347
+ },
7348
+ pricing: {
7349
+ getPriceForTextInput: (tokens) => 0.09 * tokens / 1_000_000,
7350
+ getPriceForTextOutput: (tokens) => 0.45 * tokens / 1_000_000,
7351
+ getPriceForAudioInput: () => 0,
7352
+ getPriceForAudioOutput: () => 0,
7353
+ currency: 'USD',
7354
+ },
7355
+ capabilities: {
7356
+ vision: false,
7357
+ tools: false,
7358
+ reasoning: false,
7359
+ webSearch: false,
7360
+ jsonOutput: false,
7361
+ structuredOutputs: false,
7362
+ },
7363
+ },
7364
+ [LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_5_OPENAI]: {
7365
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.GPT_5_5_OPENAI,
7366
+ limits: { maxInputTokens: 1_050_000, maxOutputTokens: 128_000 },
7367
+ config: { temperature: 0.2 },
7368
+ pricing: { getPriceForTextInput: (tokens) => 5 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 30 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7369
+ capabilities: {
7370
+ vision: true,
7371
+ tools: true,
7372
+ reasoning: true,
7373
+ webSearch: false,
7374
+ jsonOutput: false,
7375
+ structuredOutputs: false,
7376
+ },
7377
+ },
7378
+ [LLMAPI_typedefs_1.LLMAPIModelNames.QWEN2_5_CODER_32B_INSTRUCT]: {
7379
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.QWEN2_5_CODER_32B_INSTRUCT,
7380
+ limits: { maxInputTokens: 32_768, maxOutputTokens: 8_192 },
7381
+ config: { temperature: 0.2 },
7382
+ pricing: { getPriceForTextInput: (tokens) => 0.66 * tokens / 1_000_000, getPriceForTextOutput: (tokens) => 1 * tokens / 1_000_000, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7383
+ capabilities: {
7384
+ vision: false,
7385
+ tools: true,
7386
+ reasoning: false,
7387
+ webSearch: false,
7388
+ jsonOutput: false,
7389
+ structuredOutputs: false,
7390
+ },
7391
+ },
7392
+ // ─── Cartesia TTS ──────────────────────────────────────
7393
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3_2026_01_12]: {
7394
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3_2026_01_12,
7395
+ limits: { maxInputTokens: 50_000, maxOutputTokens: 0 },
7396
+ config: {},
7397
+ pricing: { getPriceForTextInput: (characters) => 65 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7398
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7399
+ },
7400
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3]: {
7401
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3,
7402
+ limits: { maxInputTokens: 50_000, maxOutputTokens: 0 },
7403
+ config: {},
7404
+ pricing: { getPriceForTextInput: (characters) => 65 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7405
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7406
+ },
7407
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_TURBO]: {
7408
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_TURBO,
7409
+ limits: { maxInputTokens: 50_000, maxOutputTokens: 0 },
7410
+ config: {},
7411
+ pricing: { getPriceForTextInput: (characters) => 45 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7412
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7413
+ },
7414
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_2]: {
7415
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_2,
7416
+ limits: { maxInputTokens: 50_000, maxOutputTokens: 0 },
7417
+ config: {},
7418
+ pricing: { getPriceForTextInput: (characters) => 65 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7419
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7420
+ },
7421
+ // ─── ElevenLabs TTS ────────────────────────────────────
7422
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_V3]: {
7423
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_V3,
7424
+ limits: { maxInputTokens: 40_000, maxOutputTokens: 0 },
7425
+ config: {},
7426
+ pricing: { getPriceForTextInput: (characters) => 120 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7427
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7428
+ },
7429
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_MULTILINGUAL_V2]: {
7430
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_MULTILINGUAL_V2,
7431
+ limits: { maxInputTokens: 40_000, maxOutputTokens: 0 },
7432
+ config: {},
7433
+ pricing: { getPriceForTextInput: (characters) => 120 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7434
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7435
+ },
7436
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_TURBO_V2_5]: {
7437
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_TURBO_V2_5,
7438
+ limits: { maxInputTokens: 40_000, maxOutputTokens: 0 },
7439
+ config: {},
7440
+ pricing: { getPriceForTextInput: (characters) => 60 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7441
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7442
+ },
7443
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_FLASH_V2_5]: {
7444
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_FLASH_V2_5,
7445
+ limits: { maxInputTokens: 40_000, maxOutputTokens: 0 },
7446
+ config: {},
7447
+ pricing: { getPriceForTextInput: (characters) => 60 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7448
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7449
+ },
7450
+ // ─── Deepgram TTS ─────────────────────────────────────
7451
+ [LLMAPI_typedefs_1.LLMAPIModelNames.AURA_2]: {
7452
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.AURA_2,
7453
+ limits: { maxInputTokens: 2_000, maxOutputTokens: 0 },
7454
+ config: {},
7455
+ pricing: { getPriceForTextInput: (characters) => 30 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7456
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7457
+ },
7458
+ [LLMAPI_typedefs_1.LLMAPIModelNames.AURA]: {
7459
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.AURA,
7460
+ limits: { maxInputTokens: 2_000, maxOutputTokens: 0 },
7461
+ config: {},
7462
+ pricing: { getPriceForTextInput: (characters) => 15 * characters / 1_000_000, getPriceForTextOutput: () => 0, getPriceForAudioInput: () => 0, getPriceForAudioOutput: () => 0, currency: 'USD' },
7463
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, tts: true },
7464
+ },
7465
+ // ─── Deepgram STT (audio input priced per estimated second, ~$0.0077/min) ───
7466
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_3]: {
7467
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_3,
7468
+ limits: { maxInputTokens: 0, maxOutputTokens: 0 },
7469
+ config: {},
7470
+ pricing: { getPriceForTextInput: () => 0, getPriceForTextOutput: () => 0, getPriceForAudioInput: (seconds) => 0.13 * seconds / 1_000, getPriceForAudioOutput: () => 0, currency: 'USD' },
7471
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, stt: true },
7472
+ },
7473
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_3_MEDICAL]: {
7474
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_3_MEDICAL,
7475
+ limits: { maxInputTokens: 0, maxOutputTokens: 0 },
7476
+ config: {},
7477
+ pricing: { getPriceForTextInput: () => 0, getPriceForTextOutput: () => 0, getPriceForAudioInput: (seconds) => 0.13 * seconds / 1_000, getPriceForAudioOutput: () => 0, currency: 'USD' },
7478
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, stt: true },
7479
+ },
7480
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2]: {
7481
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2,
7482
+ limits: { maxInputTokens: 0, maxOutputTokens: 0 },
7483
+ config: {},
7484
+ pricing: { getPriceForTextInput: () => 0, getPriceForTextOutput: () => 0, getPriceForAudioInput: (seconds) => 0.07 * seconds / 1_000, getPriceForAudioOutput: () => 0, currency: 'USD' },
7485
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, stt: true },
7486
+ },
7487
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_MEDICAL]: {
7488
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_MEDICAL,
7489
+ limits: { maxInputTokens: 0, maxOutputTokens: 0 },
7490
+ config: {},
7491
+ pricing: { getPriceForTextInput: () => 0, getPriceForTextOutput: () => 0, getPriceForAudioInput: (seconds) => 0.07 * seconds / 1_000, getPriceForAudioOutput: () => 0, currency: 'USD' },
7492
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, stt: true },
7493
+ },
7494
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_MEETING]: {
7495
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_MEETING,
7496
+ limits: { maxInputTokens: 0, maxOutputTokens: 0 },
7497
+ config: {},
7498
+ pricing: { getPriceForTextInput: () => 0, getPriceForTextOutput: () => 0, getPriceForAudioInput: (seconds) => 0.07 * seconds / 1_000, getPriceForAudioOutput: () => 0, currency: 'USD' },
7499
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, stt: true },
7500
+ },
7501
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_PHONECALL]: {
7502
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_PHONECALL,
7503
+ limits: { maxInputTokens: 0, maxOutputTokens: 0 },
7504
+ config: {},
7505
+ pricing: { getPriceForTextInput: () => 0, getPriceForTextOutput: () => 0, getPriceForAudioInput: (seconds) => 0.07 * seconds / 1_000, getPriceForAudioOutput: () => 0, currency: 'USD' },
7506
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, stt: true },
7507
+ },
7508
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_CONVERSATIONALAI]: {
7509
+ name: LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_CONVERSATIONALAI,
7510
+ limits: { maxInputTokens: 0, maxOutputTokens: 0 },
7511
+ config: {},
7512
+ pricing: { getPriceForTextInput: () => 0, getPriceForTextOutput: () => 0, getPriceForAudioInput: (seconds) => 0.07 * seconds / 1_000, getPriceForAudioOutput: () => 0, currency: 'USD' },
7513
+ capabilities: { vision: false, tools: false, reasoning: false, webSearch: false, stt: true },
7514
+ },
6829
7515
  };
6830
7516
  const LLMAPI_COMPLETION_MODELS = exports.LLMAPI_AVAILABLE_MODELS;
7517
+ const LLMAPI_TTS_MODELS = {
7518
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3_2026_01_12]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3_2026_01_12],
7519
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3],
7520
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_TURBO]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_TURBO],
7521
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_2]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_2],
7522
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_V3]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_V3],
7523
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_MULTILINGUAL_V2]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_MULTILINGUAL_V2],
7524
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_TURBO_V2_5]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_TURBO_V2_5],
7525
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_FLASH_V2_5]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_FLASH_V2_5],
7526
+ [LLMAPI_typedefs_1.LLMAPIModelNames.AURA_2]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.AURA_2],
7527
+ [LLMAPI_typedefs_1.LLMAPIModelNames.AURA]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.AURA],
7528
+ };
7529
+ exports.LLMAPI_TTS_DEFAULT_VOICES = {
7530
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3_2026_01_12]: LLMAPI_voices_1.LLMAPICartesiaVoiceId.BROOKE,
7531
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_3]: LLMAPI_voices_1.LLMAPICartesiaVoiceId.BROOKE,
7532
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_TURBO]: LLMAPI_voices_1.LLMAPICartesiaVoiceId.BROOKE,
7533
+ [LLMAPI_typedefs_1.LLMAPIModelNames.SONIC_2]: LLMAPI_voices_1.LLMAPICartesiaVoiceId.BROOKE,
7534
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_V3]: LLMAPI_voices_1.LLMAPIElevenLabsVoiceId.ROGER,
7535
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_MULTILINGUAL_V2]: LLMAPI_voices_1.LLMAPIElevenLabsVoiceId.ROGER,
7536
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_TURBO_V2_5]: LLMAPI_voices_1.LLMAPIElevenLabsVoiceId.ROGER,
7537
+ [LLMAPI_typedefs_1.LLMAPIModelNames.ELEVEN_FLASH_V2_5]: LLMAPI_voices_1.LLMAPIElevenLabsVoiceId.ROGER,
7538
+ [LLMAPI_typedefs_1.LLMAPIModelNames.AURA_2]: LLMAPI_voices_1.LLMAPIDeepgramAura2VoiceId.THALIA,
7539
+ [LLMAPI_typedefs_1.LLMAPIModelNames.AURA]: LLMAPI_voices_1.LLMAPIDeepgramAuraVoiceId.ASTERIA_LEGACY,
7540
+ };
7541
+ const LLMAPI_STT_MODELS = {
7542
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_3]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_3],
7543
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_3_MEDICAL]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_3_MEDICAL],
7544
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2],
7545
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_MEDICAL]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_MEDICAL],
7546
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_MEETING]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_MEETING],
7547
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_PHONECALL]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_PHONECALL],
7548
+ [LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_CONVERSATIONALAI]: exports.LLMAPI_AVAILABLE_MODELS[LLMAPI_typedefs_1.LLMAPIModelNames.NOVA_2_CONVERSATIONALAI],
7549
+ };
6831
7550
  exports.LLMAPI_MODELS = {
6832
7551
  [LLMService_typedefs_1.LLMPurposes.Completion]: LLMAPI_COMPLETION_MODELS,
6833
7552
  [LLMService_typedefs_1.LLMPurposes.Assistance]: exports.LLMAPI_AVAILABLE_MODELS,
6834
- [LLMService_typedefs_1.LLMPurposes.TextToSpeech]: {},
6835
- [LLMService_typedefs_1.LLMPurposes.SpeechToText]: {},
7553
+ [LLMService_typedefs_1.LLMPurposes.TextToSpeech]: LLMAPI_TTS_MODELS,
7554
+ [LLMService_typedefs_1.LLMPurposes.SpeechToText]: LLMAPI_STT_MODELS,
6836
7555
  };
6837
7556
  exports.LLMAPI_SERVICE_BUILDERS = {
6838
7557
  [LLMService_typedefs_1.LLMPurposes.Completion]: (logger, reporter, options) => (new services_1.LLMAPICompletionService(logger, reporter, options)),
6839
7558
  [LLMService_typedefs_1.LLMPurposes.Assistance]: (logger, reporter, options) => (new services_1.LLMAPIAssistanceService(logger, reporter, options)),
6840
- [LLMService_typedefs_1.LLMPurposes.SpeechToText]: null,
6841
- [LLMService_typedefs_1.LLMPurposes.TextToSpeech]: null,
7559
+ [LLMService_typedefs_1.LLMPurposes.SpeechToText]: (logger, reporter, options) => (new services_1.LLMAPISpeechToTextService(logger, reporter, options)),
7560
+ [LLMService_typedefs_1.LLMPurposes.TextToSpeech]: (logger, reporter, options) => (new services_1.LLMAPITextToSpeechService(logger, reporter, options)),
6842
7561
  };
6843
7562
  //# sourceMappingURL=LLMAPI.constants.js.map